package team.pikachu.pikachuclient.beans;

import java.io.Serializable;

/**
 * Created by Alex on 2017/9/17.
 */

public class Trouble implements Serializable {
    private int id;
    private Location location;
    private String truble;
    private String location_1;
    private String message;
    private String picPath;
    private String time;
    private String finishtime;
    private int state;

    public int getId() {
        return id;
    }

    public Location getLocation() {
        return location;
    }

    public String getTruble() {
        return truble;
    }

    public String getLocation_1() {
        return location_1;
    }

    public String getMessage() {
        return message;
    }

    public String getPicPath() {
        return picPath;
    }

    public String getTime() {
        return time;
    }

    public String getFinishtime() {
        return finishtime;
    }

    public int getState() {
        return state;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setLocation(Location location) {
        this.location = location;
    }

    public void setTruble(String truble) {
        this.truble = truble;
    }

    public void setLocation_1(String location_1) {
        this.location_1 = location_1;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public void setFinishtime(String finishtime) {
        this.finishtime = finishtime;
    }

    public void setState(int state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Trouble{" +
                "id=" + id +
                ", location=" + location +
                ", truble='" + truble + '\'' +
                ", location_1='" + location_1 + '\'' +
                ", message='" + message + '\'' +
                ", picPath='" + picPath + '\'' +
                ", time='" + time + '\'' +
                ", finishtime='" + finishtime + '\'' +
                ", state=" + state +
                '}';
    }
}
